using Headsight.BPMN2WF.BPMN.Model;
using Headsight.BPMN2WF.WF.Activities;

namespace Headsight.BPMN2WF.Transformation.Transformers
{
    /// <summary>
    /// <see cref="IBPMN2WFTransformation"/> mapping
    /// the respective <see cref="BPMNFlowNode"/> to a <i>dummy activity</i>.
    /// </summary>
    public class BPMN2WFTransformationDummyActivity : IBPMN2WFTransformation
    {
        public BPMNTransformationResult Transform(IBPMN2WFTransformationContext ctx, BPMNFlowNode flowNode)
        {
            var result = new DummyActivity();

            return new BPMNTransformationResult(result, result, result);
        }
    }
}